package com.gedeshidai.shumadevelop.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户
 * @TableName users
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;

    /**
     * 
     */
    private String userAccount;

    /**
     * 密码经过加密处理后存储
     */
    private String userPassword;

    /**
     * 1：运营小二 (默认), 2：超级管理员
     */
    private String userRole;

    /**
     * 
     */
    private String userPicture;

    /**
     * 
     */
    private String userName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}